package com.yjq.blog.article.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class ArticleListResponseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String title;

    private String profile;

    private Integer typeId;

    private Date createTime;

    private List<Type> typeList;

    private Integer userId;

    private String userName;

    @Data
    public static class Type {

        public Type(Integer typeId, String typeName) {
            this.typeId = typeId;
            this.typeName = typeName;
        }

        private Integer typeId;
        private String typeName;

    }

}
